var Mock = require('mockjs')
// 交接班表单内容
Mock.mock('http://127.0.0.1:7002/handoverOperaForm', 'get', {
  'ret': 0,
  tableData: [
    {
      label: '创建者',
      prop: 'creator',
      placeholder: '请输入创建者',
      val: 'creator',
      type: 'string'
    },
    {
      label: '描述',
      prop: 'describe',
      placeholder: '请输入描述',
      val: 'describe',
      type: 'string'
    },
    {
      label: '批号',
      prop: 'batch_number',
      placeholder: '请输入批号',
      val: 'batch_number',
      type: 'string'
    },
    // {
    //   label: '规格类型',
    //   prop: 'norms_type',
    //   placeholder: '请输入规格类型',
    //   val: 'norms_type',
    //   type: 'string'
    // },
    {
      label: '交班人',
      prop: 'handover_person',
      placeholder: '请输入交班人',
      val: 'handover_person',
      type: 'string'
    },
    {
      label: '接班人',
      prop: 'successor',
      placeholder: '请输入接班人',
      val: 'successor',
      type: 'string'
    },
    {
      label: '所属工艺',
      prop: 'task',
      placeholder: '请输入所属工艺',
      val: 'task',
      type: 'string'
    }
  ]
})
Mock.mock('http://127.0.0.1:7002/handoverform', 'get', {
  'ret': 0,
  tableData: [
    {
      label: '创建者',
      prop: 'creator',
      placeholder: '请输入创建者',
      val: 'creator',
      type: 'string'
    },
    {
      label: '描述',
      prop: 'describe',
      placeholder: '请输入描述',
      val: 'describe',
      type: 'string'
    },
    {
      label: '批号',
      prop: 'batch_number',
      placeholder: '请输入批号',
      val: 'batch_number',
      type: 'string'
    },
    // {
    //   label: '规格类型',
    //   prop: 'norms_type',
    //   placeholder: '请输入规格类型',
    //   val: 'norms_type',
    //   type: 'string'
    // },
    {
      label: '交班人',
      prop: 'handover_person',
      placeholder: '请输入交班人',
      val: 'handover_person',
      type: 'string'
    },
    {
      label: '接班人',
      prop: 'successor',
      placeholder: '请输入接班人',
      val: 'successor',
      type: 'string'
    },
    {
      label: '所属工艺',
      prop: 'task',
      placeholder: '请输入所属工艺',
      val: 'task',
      type: 'string'
    }
  ]
})
